<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>线上推广 - ${seo_title!}</title>
    <meta name="keywords" content="问答系统,java问答系统 ,Laravel问答系统,社区问答系统" />
    <meta name="description" content="FlyCms问答系统社区交流平台" />
    <!-- Bootstrap -->
    <link href="/assets/js/vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/assets/js/vendors/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link rel="stylesheet" media="screen" href="/assets/skin/pc_theme/defalut/css/index.css" />
    <link rel="stylesheet" media="screen" href="/assets/skin/pc_theme/defalut/css/global.css" />
    <link rel="stylesheet" media="screen" href="/assets/skin/pc_theme/defalut/css/account.css" />
    <link type="text/css" rel="stylesheet" href="/assets/js/vendors/cropper/cropper.min.css" />
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="/assets/skin/pc_theme/defalut/js/sea.js"></script>
    <script type="text/javascript" src="/assets/skin/pc_theme/defalut/js/sea.config.js"></script>
</head>
<body>
<#include "../common/header.html">

<div class="wrap">
    <div class="container">
        <div class="row">
            <!--左侧菜单-->
            <div id="secondary" class="col-md-2">
                <nav class="list-group mt-20">
                    <a href="/ucenter/account" class="list-group-item"><span class="glyphicon glyphicon-user"></span> 个人资料</a>
                    <a href="/ucenter/password" class="list-group-item"><span class="glyphicon glyphicon-pencil"></span> 修改密码</a>
                    <a href="/ucenter/safe_email" class="list-group-item"><span class="glyphicon glyphicon-envelope"></span> 绑定邮箱</a>
                    <a href="/ucenter/safe_mobile" class="list-group-item"><span class="glyphicon glyphicon-phone"></span> 绑定手机</a>
                    <a href="/ucenter/favorite" class="list-group-item "><span class="fa fa-graduation-cap" aria-hidden="true"></span>我的收藏</a>
                    <a href="/ucenter/invite" class="list-group-item active"><span class="fa fa-bullhorn" aria-hidden="true"></span> 线上推广</a>
                    <a href="#" class="list-group-item "><span class="glyphicon glyphicon-retweet"></span> 账号绑定</a>
                    <a href="/ucenter/account_log" class="list-group-item "><span class="fa fa-database"></span> 金币管理</a>
                    <a href="/ucenter/message" class="list-group-item "><span class="glyphicon glyphicon-bell"></span> 通知提醒</a>
                </nav>
            </div>
            <div id="main" class="col-md-10 form-horizontal">
                <div class="settings">
                    <h2 class="h3 post-title">邀请列表</h2>
                    <div class="invite-tips">
                        <h3>这是您的专属推荐链接</h3>
                        <span>http://www.EdmondCmc.com/?invite=${user.userId!}</span>
                        <p>用户通过此链接访问并注册购买本站商品，你可获得（交易金额5%）的推广奖励。</p>
                    </div>
                    <@fly_invitepage userId="${user.userId}" p="${p!}">
                    <table class="table table-striped table-bordered">
                        <tbody>
                            <tr>
                                <th>用户id</th>
                                <th>激活状态</th>
                                <th>注册日期</th>
                            </tr>
                        </tbody>
                        <tbody>
                        <#list invite_page.list as list>
                            <tr>
                                <td>${list.toUserId!}</td>
                                <td><@fly_useractivation  userId="${list.toUserId}"><#if status> 未激活<#else>已激活</#if></@fly_useractivation></td>
                                <td>${list.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                            </tr>
                        </#list>

                        </tbody>
                    </table>
                    <#if invite_page.list?size = 0>
                    <div class="init">
                        <p class="text-center"">
                        (ﾟ∀ﾟ　)<br>  暂时没有任何数据
                        </p>
                    </div>
                </#if>
                    <div class="text-center">
                        <ul class="pagination">
                            ${invite_page.pageNumHtml}
                        </ul>
                    </div>
                </@fly_invitepage>
                </div>
            </div>
        </div>
    </div>
</div>

<#include "../common/footer.html">
<script type="text/javascript"> seajs.use('main', function(main){}); </script>
</body>
</html>